home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / progjour / 1989 / 02 / pmdev2 / spmtpl next >
Text File  |  1988-12-04  |  881b  |  36 lines

  1. # SPMtpl - Presentation Manager small memory model template.
  2. #
  3. # Written by William S. Hall
  4. # 3665 Benton Street, #66
  5. # Santa Clara, CA 95051
  6. #
  7. # This version of the template has been modified to send
  8. # debugging messages to the PMAUX program.
  9. #
  10.  
  11. # no debug compile macro
  12. cp=cl -c -W3 -AS -G2sw -Os -Zpe
  13.  
  14. # libraries
  15. LIBS=os2 slibcp libh /NOD
  16.  
  17. # This directory contains the include file needed to use PMaux
  18. auxdir=d:\pwcommon\wpmaux
  19.  
  20. # inference rule for resources
  21. .rc.res :
  22.     rc -r $*.rc
  23.  
  24. # Dependencies
  25. spmtpl.res : spmtpl.rc spmtpl.h
  26.  
  27. spmtpl.obj : spmtpl.c spmtpl.h $(auxdir)\auxprt.h
  28.     $(cp) -I$(auxdir) -DPMAUX spmtpl.c
  29.  
  30. spmtplnt.obj : spmtplnt.c spmtpl.h
  31.     $(cp) -NT _INIT spmtplnt.c
  32.  
  33. spmtpl.exe : spmtpl.def spmtpl.res spmtpl.obj spmtplnt.obj
  34.     link spmtpl spmtplnt,spmtpl/align:16,spmtpl/map,$(LIBS),spmtpl.def
  35.     rc spmtpl.res
  36.